
Pod::Spec.new do |s|

  s.name         = "VPLoginComponent"
  s.version      = "0.1.2"
  s.summary      = "登录组件."
  #   * Finally, don't worry about the indent, CocoaPods strips it!
  s.description  = <<-DESC
    登录组件。
                   DESC

  s.homepage     = "https://git.oschina.net/vernepung/VPLoginComponent"
    s.license      = { :type => "MIT", :file => "LICENSE" }


  s.author             = { "vernepung" => "vernepung@hotmail.com" }
  # Or just: s.author    = "vernepung"
  # s.authors            = { "vernepung" => "vernepung@hotmail.com" }
  # s.social_media_url   = "http://twitter.com/vernepung"
  s.ios.deployment_target = "8.0"

  s.source  = { :git => "git@git.oschina.net:vernepung/VPLoginComponent.git", :tag => s.version.to_s }

#s.source_files = 'VPLoginComponent/{ViewControllers,Targets}/*.{h,m}'
#s.public_header_files = 'VPLoginComponent/{ViewControllers,Targets}/*.h'

s.default_subspec = 'All'
s.subspec 'All' do |spec|
spec.ios.dependency 'VPLoginComponent/ViewControllers'
spec.ios.dependency 'VPLoginComponent/Targets'
spec.ios.dependency 'VPLoginComponent/Cells'
end

s.subspec 'ViewControllers' do |spec|
spec.source_files = 'VPLoginComponent/ViewControllers/*.{h,m}'
spec.public_header_files = 'VPLoginComponent/ViewControllers/*.{h,m}'
spec.resource  = "VPLoginComponent/ViewControllers/*.xib"
end

s.subspec 'Cells' do |spec|
spec.source_files = 'VPLoginComponent/Cells/*.{h,m}'
spec.public_header_files = 'VPLoginComponent/Cells/*.{h,m}'
spec.resource  = "VPLoginComponent/Cells/*.xib"
end


s.subspec 'Targets' do |spec|
spec.source_files = 'VPLoginComponent/Targets/*.{h,m}'
spec.public_header_files = 'VPLoginComponent/Targets/*.{h,m}'
end

end
